package com.neu.envprotection.airQuality.service;


import com.neu.envprotection.airQuality.dao.entity.AirQuality;
import com.neu.envprotection.airQuality.dto.req.AirQualityReqDto;
import com.neu.envprotection.airQuality.dto.req.UserSelectReqDto;
import com.neu.envprotection.airQuality.dto.resp.*;
import com.neu.envprotection.common.resp.RestResp;

import java.util.List;

public interface InvestigatorService {
    RestResp<List<AirQualityRespDto>> getAirQuality(UserSelectReqDto userSelectReqDto);
    RestResp<Integer> submitAirQuality(AirQualityReqDto airQualityReqDto);
    RestResp<List<AirQHistoryRespDto>> getAirQHistoryById(UserSelectReqDto userSelectReqDto);

    RestResp<Void> addAirQuality(AirQuality airQuality);

    RestResp<List<GetProvinceAQIRespDto>> getProvinceAQI();

    RestResp<List<GetAQIDistributionRespDto>> getAQIDistribution();

    RestResp<List<GetAQITrendRespDto>> getAQITrend();

}
